<script setup>
import { ElCol, ElRow } from 'element-plus';
</script>

<template>
    <div class="event_box">
        <div class="text">
            <el-row>
                <el-col class="event_text_title" :span="24">
                    学的人多自然就好
                </el-col>
                <el-col class="event_text_span" :span="6">
                    <span>50+</span>
                    <p>年经验积累</p>
                </el-col>
                <el-col class="event_text_span" :span="6">
                    <span>50+</span>
                    <p>年经验积累</p>
                </el-col>
                <el-col class="event_text_span" :span="6">
                    <span>50+</span>
                    <p>年经验积累</p>
                </el-col>
                <el-col class="event_text_span" :span="6">
                    <span>50+</span>
                    <p>年经验积累</p>
                </el-col>
            </el-row>

        </div>
    </div>
</template>

<style scoped>
.event_box {
    border-radius: 15px;
    text-shadow: 2px 2px 20px black;
    color: white;
    background-image: url("../assets/img/break2.jpg");
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
}

.title {
    vertical-align: top;
    height: 100%;
    width: 20%;
    display: inline-block;
}

.event_text_title {
    font-weight: bold;
    padding-top: 20px;
    font-size: 3rem;
    margin-bottom: 50px;
}

.event_text_span span {
    font-weight: bolder;
    font-size: 3rem;
}

.event_text_span p {
    margin-top: -10px;
    font-size: 1rem;
}

.text {
    flex-wrap: wrap;
    text-align: center;
    vertical-align: top;
    margin: auto;
    width: 79%;
    height: 100%;
    display: inline-block;
}
</style>
